<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>站点添加</title>
<style>
body{font-size:14px;}
#main{margin: 10px;}
#res tr th{line-height: 30px; background-color: #666; color:blank;}
#res tr td{line-height: 30px; background-color: #888; color:white;}
</style>
</head>
<body>
<div id="main">
 <a href="<?php echo BASE_URL.'/index.php/welcome/add/'?>">添加新站点</a>
 <table width="60%" id="res" cellpadding="2" cellspacing="2">
  <tr>
   <th>ID</th>
   <th>站点名称</th>
   <th>站点地址</th>
   <th>操作</th>
   <th>扩展信息</th>
  </tr>
  <?php foreach($client as $c){?>
  <tr>
   <td><?=$c['id']?></td>
   <td><?=$c['name']?></td>
   <td><?=$c['address']?></td>
   <td><a href="<?php echo BASE_URL.'/index.php/welcome/editinfo/'.$c['id']?>">编辑</a></td>
   <td><a href="">扩展信息</a></td>
  </tr>
  <?php }?>
 </table>
</div>
</body>
</html>
